package com.shyroke.daydayzhuansvc.service;

import com.shyroke.daydayzhuanapi.dto.AdvertDto;
import com.shyroke.daydayzhuanapi.dto.AdvertRequest;
import com.shyroke.daydayzhuansvc.util.Page;
import com.shyroke.daydayzhuansvc.util.TabelData;

import java.util.List;

public interface IAdvertService {
    TabelData<AdvertDto> getAdvertList(Page page, AdvertRequest request);

    void deleteById(Integer id);

    AdvertDto getAdvertById(Integer id);

    void update(AdvertDto advertdto);

    void save(AdvertDto advert);

    List<AdvertDto> getList();
}
